package oop.student;

public class StudentTest {
    public static void main(String[] args) {
        Student student1=new Student(1,"张三",23,90,87);
        Student student2=new Student(2,"李四",24,69,91);
        double stu1Sum=student1.getSum();
        System.out.println("总分："+stu1Sum);
        student1.show();
        double stu2Sum=student2.getSum();
        System.out.println("总分："+stu2Sum);
        student2.show();
    }
}
